/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package listener;

import engine.City;
import engine.Country;
import engine.FullPersone;
import engine.Street;
import engine.TypeAdress;
import engine.TypePhone;
import server.ServeOneThread;

/**
 *
 * @author User
 */
public class MyEvent {
  public String data;
  public String add;
  public ServeOneThread mysrv;
  public FullPersone fp;
  public TypePhone tp;
  public TypeAdress ta;
  public Country country;
  public City city;
  public Street street;
  
  public MyEvent(){
    
  }
  
  public MyEvent(String data, String add){
    this.data = data;
    this.add = add;
  }
  
  public MyEvent(ServeOneThread mysrv){
    this.mysrv = mysrv;
  }
  
  public MyEvent(String add, ServeOneThread mysrv){
    this.mysrv = mysrv;
    this.add = add;
  }
  
  public MyEvent(FullPersone fp, ServeOneThread mysrv){
    this.mysrv = mysrv;
    this.fp = fp;
  }
  
  public MyEvent(TypePhone tp, ServeOneThread mysrv){
    this.mysrv = mysrv;
    this.tp = tp;
  }
  
  public MyEvent(TypeAdress ta, ServeOneThread mysrv){
    this.mysrv = mysrv;
    this.ta = ta;
  }
  
  public MyEvent(Country country, ServeOneThread mysrv){
    this.mysrv = mysrv;
    this.country = country;
  }
  
  public MyEvent(City city, ServeOneThread mysrv){
    this.mysrv = mysrv;
    this.city = city;
  }
  
  public MyEvent(Street street, ServeOneThread mysrv){
    this.mysrv = mysrv;
    this.street = street;
  }
  
}
